import React, { useState, useEffect } from 'react'

export const Loading = () => {
  return (
    <div className='fixed top-0 left-0 w-screen h-screen flex justify-center items-center bg-gray-900 bg-opacity-50 z-50'>
      <div className='animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-blue-500'></div>
    </div>
  )
}
